﻿using CommunityToolkit.Mvvm.ComponentModel;

namespace WpfApp1.Models
{
    public partial class Person : ObservableObject
    {
        [ObservableProperty]
        private int _Id;
        //姓名
        [ObservableProperty]
        private string? _Name;
        //学院
        [ObservableProperty]
        private string? _College;
        //性别
        [ObservableProperty]
        private int _Gender;
        //出生日期
        [ObservableProperty]
        private DateTime _BirthDate;
    }
}
